//
//  ViewController.m
//  opentest
//
//  Created by wuzhx on 2017/12/14.
//  Copyright © 2017年 wuzhx. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@property (strong, nonatomic) UILabel *lbContent;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view addSubview:self.lbContent];
    [self addViewConstraints];
}

- (void)addViewConstraints
{
    [self.lbContent mas_remakeConstraints:^(MASConstraintMaker *make) {
        make.center.equalTo(self.view);
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}


#pragma mark - NSObject
- (UILabel *)lbContent
{
    if (!_lbContent) {
        _lbContent = [[UILabel alloc] init];
        _lbContent.text = @"content";
        _lbContent.textColor = [UIColor blackColor];
    }
    return _lbContent;
}

@end
